package com.bkgy.controller.platecut.controller;

import com.bkgy.commom.model.QueryDTO;
import com.bkgy.controller.platecut.entity.TbPltcmAscRequest;
import com.bkgy.controller.platecut.service.TbPltcmAscService;
import com.bkgy.sys.common.entity.ResultData;
import io.swagger.v3.oas.annotations.Operation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


/**
 * 酸扎板型判别信息
 */
@RestController
@RequestMapping("/plate")
public class TbPltcmAscController {

    @Autowired
    private TbPltcmAscService tbPltcmAscService;

    @Operation(summary = "酸扎板型判别列表", description = "根据条件查询酸扎板型判别数据")
    @PostMapping("/getPlateCutData")
    public ResultData getPlateCutData(@RequestBody QueryDTO<TbPltcmAscRequest> queryDTO) {
        return tbPltcmAscService.getPlateCutData(queryDTO);
    }

}
